mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:03:32 +03:00
docs: enable syntax highlighting in several docs files
... for better readability Closes #6286
This commit is contained in:
parent
eddae97406
commit
5253444090
7 changed files with 260 additions and 164 deletions
|
|
@ -307,12 +307,14 @@ Example:
|
|||
|
||||
(page located at `http://www.formpost.com/getthis/`)
|
||||
|
||||
<form action="post.cgi" method="post">
|
||||
<input name=user size=10>
|
||||
<input name=pass type=password size=10>
|
||||
<input name=id type=hidden value="blablabla">
|
||||
<input name=ding value="submit">
|
||||
</form>
|
||||
```html
|
||||
<form action="post.cgi" method="post">
|
||||
<input name=user size=10>
|
||||
<input name=pass type=password size=10>
|
||||
<input name=id type=hidden value="blablabla">
|
||||
<input name=ding value="submit">
|
||||
</form>
|
||||
```
|
||||
|
||||
We want to enter user 'foobar' with password '12345'.
|
||||
|
||||
|
|
@ -419,7 +421,9 @@ if it should be used on secure connections only (`secure`).
|
|||
|
||||
If you've received a page from a server that contains a header like:
|
||||
|
||||
Set-Cookie: sessionid=boo123; path="/foo";
|
||||
```http
|
||||
Set-Cookie: sessionid=boo123; path="/foo";
|
||||
```
|
||||
|
||||
it means the server wants that first pair passed on when we get anything in a
|
||||
path beginning with "/foo".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue