Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

HTTP PUT – 301 MOVED PERMANTLY – RETRY

Solved1.43K views21st September 2023HTTP Redirect
3
Jelle Hoorne [SLC] [DevOps Member]197 20th September 2023 0 Comments

When performing HTTP Requests I receive a '301 MOVED PERMANTLY'.

On GET requests I get automatically redirected and the GET performs a retry resulting in a correct response.

However on PUT requests I receive the '301 MOVED PERMANTLY' but nothing happens afterwards (no retries, no response) which causes the element to go into timeout.

Is DataMiner supposed to send retries on PUT / POST / PATCH requests?

Note: Doing the PUT request in Postman does work.
Note2: I'm not using the option 'customRedirect' in the CommunicationOptions.

Redirect on GET:

Redirect on PUT:

Jelle Hoorne [SLC] [DevOps Member] Selected answer as best 21st September 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 21st September 2023 0 Comments

Hi,

DataMiner is using WinHTTP to handle the requests. This means by default for GET requests that all redirects are followed, except those that originate from a secure https URL to an unsecure http URL.

For example POST messages will not automatically be redirected. This is compliant to RFC 1945 section 9.3 Redirection 3xx:

   If the 301 status code is received in response to a request using
   the POST method, the user agent must not automatically redirect the
   request unless it can be confirmed by the user, since this might
   change the conditions under which the request was issued.

In fact, according to RFC 1945, only GET or HEAD methods are the only ones that may be automatically redirected. This implies that PUT is also not allowed to be automatically redirected:

<span id="autoid-46" class="h3">9.3 Redirection 3xx</span>

   This class of status code indicates that further action needs to be
   taken by the user agent in order to fulfill the request. The action
   required may be carried out by the user agent without interaction
   with the user if and only if the method used in the subsequent
   request is GET or HEAD.

Regards,

Jelle Hoorne [SLC] [DevOps Member] Selected answer as best 21st September 2023
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin