Modify ↓
Opened 13 years ago
Closed 12 years ago
#8970 closed defect (duplicate)
audocomplete fails to function under Trac 0.12
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | AutocompleteUsersPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
the plugin currently fails to function under 0.12, if you place a line just above
req.send('\n'.join(users).encode('utf-8'), 'text/plain')
with:
req.send_header('Content-Length', len('\n'.join(users).encode('utf-8')))
it will be functional again.
Attachments (0)
Change History (3)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Status: | new → assigned |
---|
comment:3 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
The send_header
method only needs to be called when calling the write
method directly. In AutocompleteUsers, we are calling send
, which calls send_header
before write
in both:
Further investigation reveals that the issue with calling write
rather than send
was already fixed in #6339 / [7293].
Please reopen if you continue to have trouble using the latest version of the trunk code.
Note: See
TracTickets for help on using
tickets.
#5937 closed as a duplicate. See t:TracDev/ApiChanges/0.12#tracdandHTTP1.1.