collective / collective.taskqueue

Asyncore-based asynchronous task queue for Plone
https://pypi.org/project/collective.taskqueue
8 stars 7 forks source link

Fix names of requesr variables in README.rst #17

Closed MrTango closed 8 years ago

datakurre commented 8 years ago

Was it really so that request.getHeader did not return added header values with those originally documented names?

I recall that the form HTTP_X_TASK_ID is HTTPRequest's internal representation. Yet, it could be that both versions work when requesting the header.

MrTango commented 8 years ago

yes, i saw the getHeader method after, i look into it again, and clear it up

MrTango commented 8 years ago

@datakurre you are right, both "HTTP_X_TASK_ID" and "X-Task-Id" works with self.request.getHeader(). so irevert my change. I was just trying to use self.request.get() which only work with "HTTP_X_TASK_ID" ;).