Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Added Content-Type header for keys POST cases. #203

Merged
merged 1 commit into from
Aug 3, 2016
Merged

Conversation

ricellis
Copy link
Member

@ricellis ricellis commented Aug 3, 2016

What

Added Content-Type header to requests using POST for the keys param.

How

Added Content-Type: application/json to headers in src.cloudant._common_util.get_docs.

Testing

This is covered by existing tests:
tests.unit.database_tests.DatabaseTests#test_all_docs_post
tests.unit.database_tests.DatabaseTests#test_all_docs_post_multiple_params

Issues

Fixes #177

@brynh brynh self-assigned this Aug 3, 2016
@brynh
Copy link

brynh commented Aug 3, 2016

+1

1 similar comment
@emlaver
Copy link
Member

emlaver commented Aug 3, 2016

+1

@ricellis ricellis merged commit c28d0d0 into master Aug 3, 2016
@ricellis ricellis deleted the 177-keys-415 branch August 3, 2016 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants