Hi Andrew,

Apparently the dispatch function sets the content type, as Len
suggested: https://github.com/mirage/mirage-www/blob/master/src/pages.ml#L121

Luke

On 29 May 2015 at 21:21, Andrew Stuart <[email protected]> wrote:
> Intriguing that http://openmirage.org/ returns content-type: text/html
>
> I wonder what the difference is?
>
> ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - 
> http://openmirage.org/
> * Hostname was NOT found in DNS cache
> *   Trying 46.43.42.147...
> * Connected to openmirage.org (46.43.42.147) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.38.0
>> Host: openmirage.org
>> Accept: */*
>>
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < content-length: 8520
> content-length: 8520
> < content-type: text/html; charset=UTF-8
> content-type: text/html; charset=UTF-8
>
> <
>
>
> _______________________________________________
> MirageOS-devel mailing list
> [email protected]
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to