Skip to content

Comments

Allow sending request content to custom QIODevice#6

Open
jnwatts wants to merge 3 commits intoacossette:masterfrom
jnwatts:dev/custom-content-device
Open

Allow sending request content to custom QIODevice#6
jnwatts wants to merge 3 commits intoacossette:masterfrom
jnwatts:dev/custom-content-device

Conversation

@jnwatts
Copy link

@jnwatts jnwatts commented Aug 7, 2015

Subclasses of HttpHandler may implement handleContent() to analyze the headers during the transition between request headers and request content. Invoking setContentDevice(contentDevice) will continue the connection, where a NULL contentDevice will behave like originally intended (direct to memory), otherwise a valid QIODevice will be written to instead.

Josh Watts added 3 commits August 7, 2015 19:28
Subclasses of HttpHandler may implement handleContent() to analyze the headers during the transition between request headers and request content. Invoking setContentDevice(contentDevice) will continue the connection, where a NULL contentDevice will behave like originally intended (direct to memory), otherwise a valid QIODevice will be written to instead.
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.

1 participant