Skip to content

Commit cdd247f

Browse files
authored
Merge pull request #65 from InteractionDesignFoundation/docs/outlook-url-length
Document the real compose URL length limit
2 parents b6be77f + d6f8556 commit cdd247f

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

services/outlook-web.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,32 @@ Each parameter carries one of three confidence markers:
3939

4040
Last check on `outlook.live.com`: 2026-08-19. The Office 365 host was not re-tested.
4141

42+
## URL length
43+
44+
The compose endpoint accepts far longer URLs than the 2000 character figure usually quoted for the
45+
web in general. Measured against `outlook.live.com` on 2026-08-19, an 8000 character `body` arrives
46+
in the compose form intact, first and last bytes included.
47+
48+
Bisecting the total URL length gives the ceiling:
49+
50+
| total URL length | response |
51+
| --- | --- |
52+
| 30 975 | 200 |
53+
| 31 145 | 200 |
54+
| 31 161 | 400 |
55+
| 31 175 | 400 |
56+
57+
Past that the host answers with a plain `Bad Request` page from IIS, so the request never reaches the
58+
calendar application at all.
59+
60+
Treat roughly 31 000 characters as a best case rather than a guarantee. The limit counts the request
61+
line together with the request headers, and cookies live in those headers, so a signed-in session
62+
with a large authentication cookie runs out of room earlier.
63+
64+
Independently of the server, browsers, proxies and email clients impose their own much lower limits,
65+
so keeping the whole URL under a couple of thousand characters is still the safe choice for links you
66+
hand to other people.
67+
4268
## Parameters
4369

4470
### path

0 commit comments

Comments
 (0)