Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:45:27+00:00 2026-06-13T00:45:27+00:00

On one of my Web Projects, I’m trying to implement my server back-end in

  • 0

On one of my Web Projects, I’m trying to implement my server back-end in a (at least nearly) RESTful way.
For this, I’m also pretty keen on using the ‘correct’ HTTP Response Status Codes for the different situations.

The problem i’m standing in front of is the following: My browser/javascript/ajax client allows changing attributes of an persistent object in my db. Because of this PUT request, the name/identificator and thus the URI to access this object (the ‘ressource’ part specifically) changes.

Currently, im using the 301 Code and placing the new URI in the Location field,
as this is how i understood it from http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Is this the way it was intended? OR what would be the ‘correct’ response?
Especially since, if it is the right way, i have to somehow disable the default browser handling of 301 (firefox asks me if i want to send the form data again – to the new URI)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:45:28+00:00Added an answer on June 13, 2026 at 12:45 am

    No, 301 means that the PUT request was not processed, because the resource has moved (and that’s why the UA want’s to redo the request).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a logging solution for one of our web projects. Server
I'm using VisualSVN client and server and one of the requirements for web projects
I have 2 ( core , core-web ) projects such a way that one
I have a solution with 3 projects.One of UI (contains web pages) and one
I've got a solution with many projects One of these proejcts is a MyProject.Web
I have one web application with two projects: Project Website Using CMS; namespace Web
I have a solution containing 4 class library projects and one web site project.
I am using HtmlUnit in one of my web projects to screen scrape some
Say I have a Visual studio solution with two projects: one web project, and
A slew of pages I've written for one of my web projects share some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.