Univention Bugzilla – Attachment 5836 Details for
Bug 34372
univention.lib.umc_connection auth() doesn't send Content-Type header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
auth.patch (text/plain), 573 bytes, created by
Florian Best
on 2014-03-20 10:57:09 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2014-03-20 10:57:09 CET
Size:
573 bytes
patch
obsolete
>Index: base/univention-lib/python/umc_connection.py >=================================================================== >--- base/univention-lib/python/umc_connection.py (Revision 48365) >+++ base/univention-lib/python/umc_connection.py (Arbeitskopie) >@@ -85,7 +85,7 @@ > data = self.build_data({'username' : username, 'password' : password}) > con = self.get_connection() > try: >- con.request('POST', '/umcp/auth', data) >+ con.request('POST', '/umcp/auth', data, headers=self._headers) > except Exception as e: > # probably unreachable > if self._error_handler:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34372
: 5836