←  Suggestions

ComputerCraft | Programmable Computers for Minecraft

»

HTTP API headers

Kolpa's Photo Kolpa 03 Jan 2013

i would really like the ability to get the HTTP response header when making calls with the HTTP API
cookies would also be great but i don't know if that's on the table
Quote

Eric's Photo Eric 04 Jan 2013

On a related note, it would be useful to be able to see the response body in the case of an error - just because a page gives an HTTP 403 error doesn't mean I don't want to see the content which explains what I did wrong.
Quote

Kolpa's Photo Kolpa 04 Jan 2013

View PostEric, on 04 January 2013 - 04:27 AM, said:

On a related note, it would be useful to be able to see the response body in the case of an error - just because a page gives an HTTP 403 error doesn't mean I don't want to see the content which explains what I did wrong.
i second this
Quote

Dlcruz129's Photo Dlcruz129 04 Jan 2013

View PostKolpa, on 04 January 2013 - 05:01 AM, said:

View PostEric, on 04 January 2013 - 04:27 AM, said:

On a related note, it would be useful to be able to see the response body in the case of an error - just because a page gives an HTTP 403 error doesn't mean I don't want to see the content which explains what I did wrong.
i second this

I third this.
Quote

Kolpa's Photo Kolpa 04 Jan 2013

View PostAfterLifeLochie, on 04 January 2013 - 04:46 PM, said:

i actually did that and went trough all the 4 pages finding nothing also he is talking about setting the headers before sending them not receiving the headers which the site returns
Quote