Skip to content

Commit

Permalink
Update a-get-request-with-side-effects.md
Browse files Browse the repository at this point in the history
update HTTP spec link
  • Loading branch information
KommuSoft authored Mar 21, 2024
1 parent d4bc8b1 commit 21259ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antipattern/a-get-request-with-side-effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Often people construct views that have side, effects, for example:

# Why is it a problem?

Because this violates the HTTP standard. In the section [*safe methods* of the HTTP specifications&nbsp;<sup>[w3.org]</sup>](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.1)
Because this violates the HTTP standard. In the section [*safe methods* of the HTTP specifications&nbsp;<sup>[w3.org]</sup>](https://www.rfc-editor.org/rfc/rfc9110.html#name-safe-methods)
it specifies that:

> In particular, the convention has been established **that the GET** and HEAD methods **SHOULD NOT have the significance** of taking an action **other than retrieval**. These methods **ought to be considered "safe"**.
Expand Down

0 comments on commit 21259ee

Please sign in to comment.