Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: MovedPermanently=301  (Read 3399 times)

0 Members and 1 Guest are viewing this topic.

HeinzK

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • ZwiAner
    • Email
MovedPermanently=301
« on: October 30, 2019, 01:28:06 pm »
deleted
« Last Edit: December 04, 2019, 08:36:09 am by HeinzK »
The trees, that obstruct the view on the forest, can be allowed to fall! (Die Bäume, die die Sicht auf einen Wald versperren, dürfen gefällt werden!)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: MovedPermanently=301
« Reply #1 on: October 30, 2019, 01:54:13 pm »
The first thing to do is to read what that HTTP status means:

Quote
The HyperText Transfer Protocol (HTTP) 301 Moved Permanently redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers

So get the "Location" field from your HTTP response and go to that new address.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11018
    • View Profile
    • development blog
    • Email
Re: MovedPermanently=301
« Reply #2 on: October 30, 2019, 02:31:39 pm »
Keep in mind though that SFML doesn't support HTTPS, so you won't be able to read communicate with your HTTPS endpoint.

You could checkout binary1248's SFNUL library that has support for HTTPS via botan: https://github.com/binary1248/SFNUL
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/