SMOLNET PORTAL home about changes
content_type_attr_multiple.xml - sfeed_tests - sfeed tests and RSS and Atom files
(URL) git clone git://git.codemadness.org/sfeed_tests (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
content_type_attr_multiple.xml (463B)
---
1 <entry>
2 <content type="text/html" type="text/plain">content</content>
3 </entry>
4
5 <entry>
6 <content type="text/plain" type="text/html">content</content>
7 </entry>
8
9 <entry>
10 <content type="text/plain" type="text/wrong">content</content>
11 </entry>
12
13 <!-- last attribute is treated as a custom type, which for sfeed is "plain", because
14 the Atom RFC says it will be base64 encoded then -->
15 <entry>
16 <content type="text/html" type="text/wrong">content</content>
17 </entry>
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed_tests/file/input/sfe...
Content-Typeapplication/gopher-menu; charset=utf-8