Comments (5)
according to UPnP Device Architecture v1.1, section 1.1 SSDP message format:
All SSDP messages MUST be formatted according to RFC 2616 section 4.1 “generic message”. SSDP messages MUST have a startline and a list of message header fields. SSDP messages SHOULD NOT have a message body. If a SSDP message is received with a message body, the message body MAY be ignored.
from openscreenprotocol.
Does uPnP mandate a transfer-encoding for the message?
from openscreenprotocol.
@mfoltzgoogle Though UPnP Device Architecture mentions Transfer-Encoding (as an optional feature for HTTP/1.1), a Transfer-Encoding does not appear in Section 1. Discovery (i.e. SSDP).
from openscreenprotocol.
I did some tracking of this. The short answer for SSDP is "not simply."
SSDP adopts the RFC 2616 message format from HTTP 1.0 [1] which technically allows ISO-8859-1 in header values (although only ASCII is guaranteed to work across implementations.) Non-ASCII values (i.e., UTF-8) should use MIME encoding [2], basically quoted-printable or base64.
[1] https://www.ietf.org/rfc/rfc2616
[2] https://www.ietf.org/rfc/rfc2047
base64 is simpler and universally supported. So if we want to include the friendly name in the SSDP response, it should be base64 encoded.
from openscreenprotocol.
Closing as we are not using SSDP.
from openscreenprotocol.
Related Issues (20)
- Consider removing support for P-521 HOT 1
- Do not use Distinguished Name to convey protocol details HOT 1
- The keyUsage name is digitalSignature, not signing HOT 1
- Clarify the supported signature algorithms for certificates HOT 1
- Certificates should have a maximum lifetime, and SPAKE2 identities should be SPKI not cert fingerprint HOT 1
- Seek horizontal reviews on the spec HOT 1
- Clarify `time-scale` field HOT 2
- Cross-spec links are broken HOT 6
- How to control the sender side on the receiver side
- `color-gamuts` could be a single value and not a list
- MIME types and metadata encoding for Dolby Vision formats
- Matter protocol similarities HOT 4
- Remote control of Media Session
- Reallocate message type IDs?
- start looking at mechanisms to exchange information between W3C and CSA on Matter
- OSP protocol split HOT 1
- Define re-sync behavior for capabilities on network reconnection
- Explore multi-device timeline sync protocol with sub-10ms precision
- Media Over QUIC
- Representation of time in remote-playback-state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscreenprotocol.