[Grub-dev] C# Grubng 0.1 and few questions

Balinny balinny at gmail.com
Mon Jan 28 18:36:00 UTC 2008


jer wrote:
>> Maybe the http response should have a description? It currently only
>> gives the numeric answer.
>>     
>
> They should all have a body and simple text description?
>   
No. I get things like
HTTP/1.1 401
Date: Mon, 28 Jan 2008 17:52:57 GMT
Server: Apache/1.3.28 (Unix)
Connection: close
Content-Type: text/html

At least tell me what the number means. Something like "401 wrong hash" 
or "401 not arc"
I'm too lazy to seek that 401 mean Unauthorised and wonder which 
authenticating step failed.


Same goes with Code 200, what's wrong with "200 Accepted and indexed"?

HTTP/1.1 200
Date: Mon, 28 Jan 2008 18:01:09 GMT
Server: Apache/1.3.28 (Unix)
Connection: close
Content-Type: text/html

<HEAD><TITLE>OK</TITLE></HEAD><H1>Content Accepted</H1>

Athough this is marginally better, giving an (invalid) html description.

>> Also, i do a HTTP/1.0 PUT but receive a HTTP/1.1 answer :P
>>     
>
> That's just HTTP, it's allowed, but you of course won't get back any  
> 1.1 headers :)
>   
I don't find that HTTP/1.0 clients should support answers with a greater 
version, just that they
should support HTTP/0.9 and HTTP/1.0 answers. But as i made it 
supporting both HTTP/1.0
and HTTP/1.1 resposnes, I don't care too much :P



More information about the Grub-dev mailing list