Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Simplify using http-client and http-server #14

Merged
merged 3 commits into from
Dec 7, 2015

Conversation

DavideAllavena
Copy link

In this pull request i reamed the class HttpServer to HttpServerBase. Now HttpServer is derived from HttpServerBase the method got_request_body_piece in not empty.

@bassosimone
Copy link
Member

Hi @DavideAllavena! This is a good starting point to address the issue we spotted together today (i.e., that exposing a client - or a server - that by default discards the body is going to break too much the contract between the runtime and Neubot).

If you could do the same for the client and also update the examples accordingly, I'd be happy to merge.

@bassosimone bassosimone added this to the release-1.0.0 milestone Nov 13, 2015
@bassosimone bassosimone self-assigned this Nov 13, 2015
@DavideAllavena
Copy link
Author

Tests are working. I check the compatibility of this patch with neubot-server.

@bassosimone bassosimone changed the title Added HttpServer that implement got_request_body_piece. Simplify using http-client and http-server Dec 7, 2015
@bassosimone
Copy link
Member

Thanks!

bassosimone added a commit that referenced this pull request Dec 7, 2015
Simplify using http-client and http-server
@bassosimone bassosimone merged commit c45395d into master Dec 7, 2015
@bassosimone bassosimone deleted the feature/http_server_fix branch December 7, 2015 15:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants