Lengthy scope preview data causes HTTP Error 414
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Rest Scopes |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If the scope preview data is too long (and it is sent in the URL), it causes 414 on the server.
ubuntu-rest-scope make start output:
---
(successful surfacing request)
"127.0.0.1 - - [12/May/
(failed preview request)
Traceback (most recent call last):
File "/usr/lib/
result = self._run(
File "/usr/lib/
handler.
File "/usr/lib/
self.
File "/usr/lib/
resp = GeventResponse(
AttributeError: 'PyWSGIHandler' object has no attribute 'response_headers'
<Greenlet at 0x2af43872acd0: <bound method PyWSGIServer.handle of <PyWSGIServer at 0x2af436aa5190 fileno=5 address=
---
ubuntu-rest-scope check_scopes result:
---
<snip>
'title': '<snip>',
'uri': '<snip>'}
Preview? 0
Previewing...
Error: HTTP Error 414: Request URI Too Long b''
---
tags: | added: scope-dev |
Changed in ubuntu-rest-scopes: | |
status: | New → Confirmed |
importance: | Undecided → Medium |