Fossil SCM
Additional documentation on the /chat-poll page.
Commit
2261b294155d856f43f08491f2b6c0d0e31636f3be8efa486493088590a282f2
Parent
3d6267edadb1071…
1 file changed
+4
+4
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -229,10 +229,14 @@ | ||
| 229 | 229 | ** /chat-poll/N |
| 230 | 230 | ** |
| 231 | 231 | ** If N is negative, then the return value is the N most recent messages. |
| 232 | 232 | ** Hence a request like /chat-poll/-100 can be used to initialize a new |
| 233 | 233 | ** chat session to just the most recent messages. |
| 234 | +** | |
| 235 | +** Some webservers (althttpd) do not allow a term of the URL path to | |
| 236 | +** begin with "-". Then /chat-poll/-100 cannot be used. Instead you | |
| 237 | +** have to say "/chat-poll?name=-100". | |
| 234 | 238 | ** |
| 235 | 239 | ** The reply from this webpage is JSON that describes the new content. |
| 236 | 240 | ** Format of the json: |
| 237 | 241 | ** |
| 238 | 242 | ** | { |
| 239 | 243 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -229,10 +229,14 @@ | |
| 229 | ** /chat-poll/N |
| 230 | ** |
| 231 | ** If N is negative, then the return value is the N most recent messages. |
| 232 | ** Hence a request like /chat-poll/-100 can be used to initialize a new |
| 233 | ** chat session to just the most recent messages. |
| 234 | ** |
| 235 | ** The reply from this webpage is JSON that describes the new content. |
| 236 | ** Format of the json: |
| 237 | ** |
| 238 | ** | { |
| 239 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -229,10 +229,14 @@ | |
| 229 | ** /chat-poll/N |
| 230 | ** |
| 231 | ** If N is negative, then the return value is the N most recent messages. |
| 232 | ** Hence a request like /chat-poll/-100 can be used to initialize a new |
| 233 | ** chat session to just the most recent messages. |
| 234 | ** |
| 235 | ** Some webservers (althttpd) do not allow a term of the URL path to |
| 236 | ** begin with "-". Then /chat-poll/-100 cannot be used. Instead you |
| 237 | ** have to say "/chat-poll?name=-100". |
| 238 | ** |
| 239 | ** The reply from this webpage is JSON that describes the new content. |
| 240 | ** Format of the json: |
| 241 | ** |
| 242 | ** | { |
| 243 |