?
avatar zero-24
zero-24
21 May 2017

Steps to reproduce the issue

RFC Set default useragent on all JHttpFactory calls.

Here: #15385 we did that for the updater but would it not make also sense to have this globaly for all calls using JHttpFactory ?

Expected result

default useragent on all JHttpFactory calls

Actual result

No useragent on JHttpFactory calls

avatar zero-24 zero-24 - open - 21 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2017
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 May 2017
avatar mbabker
mbabker - comment - 21 May 2017

IMO no, JHttp shouldn't be forced to have a value here. If someone wants to set it in JHttpFactory, I think that'd be an OK compromise but unless it becomes a mandatory value to set for a request to be valid then I wouldn't force it in the adapter.

avatar zero-24 zero-24 - edited - 21 May 2017
avatar zero-24
zero-24 - comment - 21 May 2017

Sorry i meant JHttpFactory and not JHTTP i have just fixed the original issue.

avatar wojsmol
wojsmol - comment - 21 May 2017

@zero-24 Title of the issue is still wrong.

avatar zero-24 zero-24 - edited - 21 May 2017
avatar zero-24
zero-24 - comment - 21 May 2017

fixed

avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2017
Title
[4.0] RFC Set default useragent on all JHTTP calls
[4.0] RFC Set default useragent on all JHttpFactory calls
avatar joomla-cms-bot joomla-cms-bot - edited - 21 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 21 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2017
Title
[4.0] RFC Set default useragent on all JHttpFactory calls
[4.0] RFC Set default useragent on all JHTTP calls
avatar joomla-cms-bot joomla-cms-bot - edited - 21 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 May 2017
Category Feature Request
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 May 2017
Status New Discussion
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 22 May 2017
avatar zero-24
zero-24 - comment - 5 Jun 2017
avatar zero-24 zero-24 - change - 5 Jun 2017
The description was changed
Title
[4.0] RFC Set default useragent on all JHTTP calls
[4.0] RFC Set default useragent on all JHttpFactory calls
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-06-05 16:30:24
Closed_By zero-24
avatar zero-24 zero-24 - close - 5 Jun 2017
avatar zero-24 zero-24 - change - 5 Jun 2017
Labels Removed: ?
avatar zero-24 zero-24 - unlabeled - 5 Jun 2017

Add a Comment

Login with GitHub to post a comment