mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
In general it seems a bad idea to have two http-strings.c files as this precludes to have them both in the Contiki library. However as it stands it seems most reasonable to have one http-strings.c file be a clean superset of all usecases in order to allow them to run together in a single binary. As webserver/http-strings.c already contained strings not present in webbrowser/http-strings.c it seems reasonable to consider webserver/http-strings.c as the superset described. From that perspective it is appropriate to remove all strings from webbrowser/http-strings.c which are not used by the web browser in order to save memory otherwise wasted.
13 lines
238 B
Plaintext
13 lines
238 B
Plaintext
http_http "http://"
|
|
http_200 "200 "
|
|
http_301 "301 "
|
|
http_302 "302 "
|
|
http_get "GET "
|
|
http_10 "HTTP/1.0"
|
|
http_11 "HTTP/1.1"
|
|
http_content_type "content-type: "
|
|
http_location "location: "
|
|
http_host "Host: "
|
|
http_crnl "\r\n"
|
|
http_html ".html"
|