-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix status code in GET aliases service (#1881)
* Fix status code in GET aliases Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com> * Update news Co-authored-by: Steve Piercy <web@stevepiercy.com> --------- Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com> Co-authored-by: Steve Piercy <web@stevepiercy.com>
- Loading branch information
1 parent
6e2ab6b
commit a7d1200
Showing
7 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Correct the HTTP response status code to `200 OK` from `201 Create` for the `aliases` GET service. @Faakhir30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HTTP/1.1 201 Created | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HTTP/1.1 201 Created | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HTTP/1.1 201 Created | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/plone/restapi/tests/http-examples/aliases_root_get_csv_format.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HTTP/1.1 201 Created | ||
HTTP/1.1 200 OK | ||
Content-Type: text/csv; charset=utf-8 | ||
|
||
old path,new path,datetime,manual | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters