[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Web server MIME types / content types
Andrew, openmirage.org is built from mirage-www [1], which uses cowabloga [2]. It looks like mirage-www's dispatch fn supplies the content-type. Note that mirage-www is purpose-built to serve the mirage homepage. It's not a generic static file server, but a program that dynamically generates pages, using content (mostly) embedded in the kernel. [1] https://github.com/mirage/mirage-www [2] https://github.com/mirage/cowabloga -- Len On Fri, May 29, 2015 at 9:21 AM, Andrew Stuart <andrew.stuart@xxxxxxxxxxxxxxxxxx> 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 MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |