File tree Expand file tree Collapse file tree
user_guide_src/source/incoming Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *******************
1+ ###################
22Content Negotiation
3- *******************
3+ ###################
44
55Content negotiation is a way to determine what type of content to return to the client based on what the client
66can handle, and what the server can handle. This can be used to determine whether the client is wanting HTML or JSON
@@ -13,9 +13,9 @@ can handle this for you.
1313 :local:
1414 :depth: 2
1515
16- =================
16+ *****************
1717Loading the Class
18- =================
18+ *****************
1919
2020You can load an instance of the class manually through the Service class:
2121
@@ -32,9 +32,9 @@ method:
3232When accessed this way, the first parameter is the type of content you're trying to find a match for, while the
3333second is an array of supported values.
3434
35- ===========
35+ ***********
3636Negotiating
37- ===========
37+ ***********
3838
3939In this section, we will discuss the 4 types of content that can be negotiated and show how that would look using
4040both of the methods described above to access the negotiator.
You can’t perform that action at this time.
0 commit comments