tomchristie/django-rest-framework — pull request #407 by ludwigkraatz (2012-11-13 17:12:04+00:00)
Title: Location header when Creating a Resource with HyperlinkedIdentityField

Had to fix another little bug when using headers in the response:

They have not being handled.

removed *Response(data=data,headers=list_of_headers_non_processed)*
```
self.headers = headers and headers[:] or []
```
and changed it to Response(data=data,headers=dict_of_headers)
```
if headers:
for name,value in headers.iteritems():
self[name] = value
```
Please confirm that this was really correct - i couldn't find any place where this was used.