Opened 23 months ago

Last modified 23 months ago

#6101 enhancement new

twisted.web.distrib doesn't properly handle mixed positional and keyword arguments

Reported by: tom.prince Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

For example, request.addCookie doesn't accept expires as a positional argument when used over distrib.

-                request.addCookie(COOKIE_KEY, cookie, s.getExpiration(),path="/")
+                request.addCookie(COOKIE_KEY, cookie, expires=s.getExpiration(),path="/")

Change History (1)

comment:1 Changed 23 months ago by tom.prince

  • Component changed from core to web
Note: See TracTickets for help on using tickets.