GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — setFollowRedirects(true) does not follow 308 (Permanent Redirect) · Issue #873 · googleapis/google-http-java-client

setFollowRedirects(true) does not follow 308 (Permanent Redirect) #873

New issue
Copy link
New issue
Copy link
Closed
#876
Closed
setFollowRedirects(true) does not follow 308 (Permanent Redirect)#873
#876
Copy link
Assignees
elharo
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@chanseokoh
chanseokoh
opened on Nov 1, 2019
Issue body actions

Using the latest versions:
google-http-client: 1.33.0
google-http-client-apache-v2: 1.33.0

By default setFollowRedirects(true) is set, and the library automatically follows the following redirects.

301 (Moved Permanently)
302 (Found)
303 (See Other)
307 (Temporary Redirect)

However, 308 (Permanent Redirect) isn't followed from my experiment.

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection says

307 and 308 parallel the behaviors of 302 and 301

so I reckon if the library is following 301, 302, and 307, perhaps it should follow 308 too.

Activity

  1. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Nov 2, 2019
  2. codyoss
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Nov 7, 2019
  3. elharo
    closed this as completedin #876on Nov 14, 2019
  4. JustinBeckwith
    assigned
    elharo
    on Feb 1, 2021
  5. clundin25
    added a commit that references this issue on Aug 11, 2022

    chore(main): release 1.5.3-SNAPSHOT (googleapis#873)

    9a49e82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @elharo
    elharo

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.