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

Implement sendDocument function support. #31

Merged
merged 1 commit into from Jul 17, 2020

Conversation

qnikst
Copy link
Contributor

@qnikst qnikst commented Jul 7, 2020

sendDocument is implemented as a special wrapper that decide
what content type to use based on the query content. Such approach
is not servant-client friendly, so we ToMultipart function becomes
partial, but it may be ok, as other solutions would require manual
copy of the types and it will be much harder to follow.

Fixes #30.


This commit includes patch from the other, I can exclude that as soon as it will be merged.

sendDocument is implemented as a special wrapper that decide
what content type to use based on the query content. Such approach
is not servant-client friendly, so we ToMultipart function becomes
partial, but it may be ok, as other solutions would require manual
copy of the types and it will be much harder to follow.

Fixes fizruk#30.
@swamp-agr
Copy link
Collaborator

Proceeding with merge! @qnikst, thank you for your contribution!

@swamp-agr swamp-agr merged commit 1a919d1 into fizruk:master Jul 17, 2020
@qnikst qnikst deleted the send-document branch June 7, 2021 13:29
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.

sendDocument API is missing
2 participants