Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/http upload #915

Merged
merged 3 commits into from Apr 19, 2016
Merged

Fix/http upload #915

merged 3 commits into from Apr 19, 2016

Conversation

ghost
Copy link

@ghost ghost commented Apr 18, 2016

Removed never used strings:

  • http_http "http://"
  • http_200 "200 "
  • http_301 "301 "
  • http_302 "302 "
  • http_content_type "content-type: "
  • http_texthtml "text/html"
  • http_location "location: "
  • http_host "host: "
  • http_crnl "\r\n"
  • http_referer "Referer:"
  • http_text ".txt"
  • http_content_type_binary "Content-type: application/octet-stream\r\n\r\n"

Removed useless extension

  • http_shtml ".shtml"

Add an header sent with all requests

  • http_header_all "Server: uIP/1.0\r\nConnection: close\r\nAccess-Control-Allow-Origin: *\r\n"

@wolfmanjm wolfmanjm merged commit b0a1f3b into Smoothieware:edge Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants