Skip to content

Commit

Permalink
Always send origin headers otherwise browsers 'think' they didnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 22, 2012
1 parent f71cc8f commit 5703f18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sentry/web/api.py
Expand Up @@ -145,9 +145,9 @@ def store(request, project_id=None):
if request.method == 'POST':
logger.info('New event from client %r (id=%%s)' % client, data['event_id'])
response = HttpResponse('')
else:
# OPTIONS
response = apply_access_control_headers(HttpResponse(), origin)

response = apply_access_control_headers(HttpResponse(), origin)

return response


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -71,7 +71,7 @@

setup(
name='sentry',
version='4.4.2',
version='4.4.3',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/sentry',
Expand Down

0 comments on commit 5703f18

Please sign in to comment.