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

Better HTTP codes for SMS #5

Merged
merged 2 commits into from
Sep 7, 2012
Merged

Conversation

pmclanahan
Copy link

  • Only allow known message ids.
  • Clean up a bunch of stuff from check.py.
  • Update vendor to latest (once basket-lib PR lands).

if 'mobile_number' not in request.POST:
return json_response({'status': 'error',
'desc': 'mobile_number is missing'},
status=500)
status=400)
Copy link
Member

Choose a reason for hiding this comment

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

yes!

@fwenzel
Copy link
Member

fwenzel commented Sep 7, 2012

awesome, ++ for pep8ifying all this. r+

pmclanahan pushed a commit that referenced this pull request Sep 7, 2012
Better HTTP codes for SMS
@pmclanahan pmclanahan merged commit 7d3543d into mozilla:master Sep 7, 2012
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.

3 participants