Skip to content

Instantly share code, notes, and snippets.

@goog
Created October 22, 2012 16:09
Show Gist options
  • Save goog/3932277 to your computer and use it in GitHub Desktop.
Save goog/3932277 to your computer and use it in GitHub Desktop.
post <QueryDict: {u'csrfmiddlewaretoken': [u'2050b2625b7aaa98fa27aa04fa139658'], u'title[]': [u'', u'']}>
request.FILES
<MultiValueDict: {u'file': [<TemporaryUploadedFile: Getting Started with RDF and SPARQL Using Sesame and Python _ Jeni's Musings.pdf (application/pdf)>]}>
[{'url': u"http://127.0.0.1:5984/test/2356c0181de208ecc895245def00292a/Getting Started with RDF and SPARQL Using Sesame and Python _ Jeni's Musings.pdf", 'delete_type': 'DELETE', 'name': u"Getting Started with RDF and SPARQL Using Sesame and Python _ Jeni's Musings.pdf", 'delete_url': '/upload/delete/2356c0181de208ecc895245def00292a'}]
[22/Oct/2012 11:07:45] "POST /upload/ HTTP/1.1" 200 335
post <QueryDict: {u'csrfmiddlewaretoken': [u'2050b2625b7aaa98fa27aa04fa139658'], u'title[]': [u'']}>
request.FILES
<MultiValueDict: {u'file': [<InMemoryUploadedFile: google_count.pdf (application/pdf)>]}>
[{'url': u'http://127.0.0.1:5984/test/2356c0181de208ecc895245def003573/google_count.pdf', 'delete_type': 'DELETE', 'name': u'google_count.pdf', 'delete_url': '/upload/delete/2356c0181de208ecc895245def003573'}]
[22/Oct/2012 11:07:47] "POST /upload/ HTTP/1.1" 200 207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment