[Metalab Issues] #198: Metafridge delivers get_text.cgi as text/html instead of text/plain

Metalab Issues issues at lists.metalab.at
Tue May 14 12:43:53 CEST 2013


#198: Metafridge delivers get_text.cgi as text/html instead of text/plain
-------------------+-----------------------
Reporter:  pepi    |     Owner:  mzeltner
  Status:  closed  |  Keywords:  metafridge
-------------------+-----------------------
Changes (by mzeltner):

 * owner:   => mzeltner
 * status:  new => closed


Comment:

 That is fixed. And to document it somewhere: it prepends a null character
 before the text, which would stop curl from printing to stdout. Cutting
 the null character fixes things:

 curl -s http://metafridge.metalab.at/cgi-bin/get_text.cgi | cut -c 2-

-- 
Ticket URL: <https://metalab.at/issues/ticket/198#comment:1>
Metalab Issues <https://metalab.at/issues>
Metalab is a Hackerspace in Vienna's first district.



More information about the issues mailing list