Skip to content

Conversation

lovelydinosaur
Copy link
Contributor

Closes #5541

@lovelydinosaur lovelydinosaur added this to the 3.7.2 milestone Oct 30, 2017
@lovelydinosaur lovelydinosaur merged commit 2b6245d into master Oct 30, 2017
@lovelydinosaur lovelydinosaur deleted the strict-str-header branch October 30, 2017 13:08
def get_success_headers(self, data):
try:
return {'Location': data[api_settings.URL_FIELD_NAME]}
return {'Location': str(data[api_settings.URL_FIELD_NAME])}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not six.text_type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants