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

Added a way to change the status header #46

Closed
wants to merge 3 commits into from
Closed

Added a way to change the status header #46

wants to merge 3 commits into from

Conversation

schmitch
Copy link
Contributor

I added a way to change the status code of a request.
Currently you have the following options:

  • Add a decorator to a function: @status(201)
  • Create a data.Data object ```return data.Data('yourdata', status=201)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.15%) to 96.18% when pulling 97c1dc0 on schmitch:master into 4fff54b on toastdriven:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.26%) to 95.77% when pulling cbcbc95 on schmitch:master into 4fff54b on toastdriven:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.17%) to 96.2% when pulling 6ed3c7d on schmitch:master into 4fff54b on toastdriven:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.17%) to 96.2% when pulling 6ed3c7d on schmitch:master into 4fff54b on toastdriven:master.

@schmitch schmitch closed this Apr 27, 2015
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.

None yet

2 participants