Home | History | Annotate | Download | only in mime

Lines Matching refs:filename

152 		{`attachment; filename="foo.html"`,
154 m("filename", "foo.html")},
156 {`attachment; filename="0000000000111111111122222"`,
158 m("filename", "0000000000111111111122222")},
160 {`attachment; filename="00000000001111111111222222222233333"`,
162 m("filename", "00000000001111111111222222222233333")},
164 {`attachment; filename="f\oo.html"`,
166 m("filename", "f\\oo.html")},
168 {`attachment; filename="\"quoting\" tested.html"`,
170 m("filename", `"quoting" tested.html`)},
172 {`attachment; filename="Here's a semicolon;.html"`,
174 m("filename", "Here's a semicolon;.html")},
176 {`attachment; foo="bar"; filename="foo.html"`,
178 m("foo", "bar", "filename", "foo.html")},
180 {`attachment; foo="\"\\";filename="foo.html"`,
182 m("foo", "\"\\", "filename", "foo.html")},
184 {`attachment; FILENAME="foo.html"`,
186 m("filename", "foo.html")},
188 {`attachment; filename=foo.html`,
190 m("filename", "foo.html")},
192 {`attachment; filename=foo.html ;`,
194 m("filename", "foo.html")},
196 {`attachment; filename='foo.html'`,
198 m("filename", "'foo.html'")},
200 {`attachment; filename="foo-ä.html"`,
202 m("filename", "foo-ä.html")},
204 {`attachment; filename="foo-ä.html"`,
206 m("filename", "foo-ä.html")},
208 {`attachment; filename="foo-%41.html"`,
210 m("filename", "foo-%41.html")},
212 {`attachment; filename="50%.html"`,
214 m("filename", "50%.html")},
216 {`attachment; filename="foo-%\41.html"`,
218 m("filename", "foo-%\\41.html")},
228 {`attachment; filename="foo-%c3%a4-%e2%82%ac.html"`,
230 m("filename", "foo-%c3%a4-%e2%82%ac.html")},
232 {`attachment; filename ="foo.html"`,
234 m("filename", "foo.html")},
236 {`filename=foo.html`,
239 {`x=y; filename=foo.html`,
242 {`"foo; filename=bar;baz"; filename=qux`,
245 {`filename=foo.html, filename=bar.html`,
248 {`; filename=foo.html`,
251 {`: inline; attachment; filename=foo.html`,
254 {`inline; attachment; filename=foo.html`,
257 {`attachment; inline; filename=foo.html`,
260 {`attachment; filename="foo.html".txt`,
263 {`attachment; filename="bar`,
266 {`attachment; filename=foo"bar;baz"qux`,
269 {`attachment; filename=foo.html, attachment; filename=bar.html`,
272 {`attachment; foo=foo filename=bar`,
275 {`attachment; filename=bar foo=foo`,
278 {`attachment filename=bar`,
281 {`filename=foo.html; attachment`,
298 {`attachment; example="filename=example.txt"`,
300 m("example", "filename=example.txt")},
302 {`attachment; filename*=UTF-8''foo-%c3%a4-%e2%82%ac.html`,
304 m("filename", "foo-ä-?.html")},
306 {`attachment; filename*=''foo-%c3%a4-%e2%82%ac.html`,
310 {`attachment; filename*=UTF-8''foo-a%cc%88.html`,
312 m("filename", "foo-a?.html")},
314 {`attachment; filename*= UTF-8''foo-%c3%a4.html`,
316 m("filename", "foo-ä.html")},
318 {`attachment; filename* =UTF-8''foo-%c3%a4.html`,
320 m("filename", "foo-ä.html")},
322 {`attachment; filename*="UTF-8''foo-%c3%a4.html"`,
324 m("filename", "foo-ä.html")},
326 {`attachment; filename*="foo%20bar.html"`,
330 {`attachment; filename*=UTF-8'foo-%c3%a4.html`,
334 {`attachment; filename*=UTF-8''foo%`,
338 {`attachment; filename*=UTF-8''f%oo.html`,
342 {`attachment; filename*=UTF-8''A-%2541.html`,
344 m("filename", "A-%41.html")},
346 {`attachment; filename*0="foo."; filename*1="html"`,
348 m("filename", "foo.html")},
350 {`attachment; filename*0*=UTF-8''foo-%c3%a4; filename*1=".html"`,
352 m("filename", "foo-ä.html")},
354 {`attachment; filename*0="foo"; filename*01="bar"`,
356 m("filename", "foo")},
358 {`attachment; filename*0="foo"; filename*2="bar"`,
360 m("filename", "foo")},
362 {`attachment; filename*1="foo."; filename*2="html"`,
365 {`attachment; filename*1="bar"; filename*0="foo"`,
367 m("filename", "foobar")},
369 {`attachment; filename="foo-ae.html"; filename*=UTF-8''foo-%c3%a4.html`,
371 m("filename", "foo-ä.html")},
373 {`attachment; filename*=UTF-8''foo-%c3%a4.html; filename="foo-ae.html"`,
375 m("filename", "foo-ä.html")},
377 {`attachment; filename*0*=ISO-8859-15''euro-sign%3d%a4; filename*=ISO-8859-1''currency-sign%3d%a4`,
381 {`attachment; foobar=x; filename="foo.html"`,
383 m("foobar", "x", "filename", "foo.html")},
395 {`form-data; name="file"; filename="C:\dev\go\robots.txt"`, "form-data", m("name", "file", "filename", `C:\dev\go\robots.txt`)},
439 {"attachment; filename=foo,bar.html", "attachment", "mime: invalid media parameter"},
440 {"attachment; ;filename=foo", "attachment", "mime: invalid media parameter"},
441 {"attachment; filename=foo bar.html", "attachment", "mime: invalid media parameter"},
442 {`attachment; filename="foo.html"; filename="bar.html"`, "attachment", "mime: duplicate parameter name"},
443 {"attachment; filename=foo[1](2).html", "attachment", "mime: invalid media parameter"},
444 {"attachment; filename=foo-ä.html", "attachment", "mime: invalid media parameter"},
445 {"attachment; filename=foo-ä.html", "attachment", "mime: invalid media parameter"},
446 {`attachment; filename *=UTF-8''foo-%c3%a4.html`, "attachment", "mime: invalid media parameter"},