bugGNU Octave - Bugs: bug #47635, Octave fetches http urls without a...

 
 

bug #47635: Octave fetches http urls without a User-Agent header

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 07 Apr 2016 02:19:55 AM UTC  
 
Category:  Octave Function Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 08 Apr 2016 12:51:28 AM UTC, comment #2:

The Matlab docs show that urlread and urlwrite accept keyword/option arguments to specify things like UserAgent so to be compatible, Octave should do the same.

John W. Eaton <jwe>
Project Administrator
Thu 07 Apr 2016 06:31:25 PM UTC, comment #1:

I'm attaching a preliminary partial solution. Things that still need to be done:

  • set default from version and config info (need to move some config and version info to liboctave from libinterp; see bug #45659)
  • provide way to change user agent string from Octave scripting language (separate function or option for urlread/urlwrite?).

(file #36858)

John W. Eaton <jwe>
Project Administrator
Thu 07 Apr 2016 02:19:55 AM UTC, original submission:

Octave should set its own User-Agent string in all outgoing http requests. Ideally this could be configurable by the user, but there should be a default. As it is now it is unset, which means no User-Agent header is sent.

The default should indicate that GNU Octave is the client, which version, and what operating system it is running on.

This should apply to both the url_transfer class (used by the GUI) as well as the urlread and urlwrite command-line functions.

This would be a nice small self-contained project for a new contributor to work on.

Mike Miller <mtmiller>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36858:  diffs.txt added by jwe (3KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-04-07 jwe Attached File- => Added diffs.txt, #36858
    2016-04-07 mtmiller Priority5 - Normal => 1 - Later

    Back to the top


    Powered by Savane 3.3