diff --git a/ssdpy/protocol.py b/ssdpy/protocol.py
index 50a1be6..ba2a2ff 100644
--- a/ssdpy/protocol.py
+++ b/ssdpy/protocol.py
@@ -18,7 +18,7 @@ def create_msearch_payload(host, st, mx=1):
     data = (
         "M-SEARCH * HTTP/1.1\r\n"
         "HOST:{}\r\n"
-        "MAN:ssdp:discover\r\n"
+        'MAN: "ssdp:discover"\r\n'
         "ST:{}\r\n"
         "MX:{}\r\n"
     ).format(host, st, mx)

M-SEARCH has unescaped "Man" field
According to the official docs, the "Man" field's value should be wrapped in quotes.

Wrong:
```python
data = (                      
    "M-SEARCH * HTTP/1.1\r\n" 
    "HOST:{}\r\n"             
    "MAN: ssdp:discover\r\n"
    "ST:{}\r\n"               
    "MX:{}\r\n"               
).format(host, st, mx)
```

Right:
```python
data = (                      
    "M-SEARCH * HTTP/1.1\r\n" 
    "HOST:{}\r\n"             
    'MAN: "ssdp:discover"\r\n'
    "ST:{}\r\n"               
    "MX:{}\r\n"               
).format(host, st, mx)        
```
diff --git a/tests/test_protocol.py b/tests/test_protocol.py
index e1580c3..25bea49 100644
--- a/tests/test_protocol.py
+++ b/tests/test_protocol.py
@@ -11,7 +11,7 @@ class TestProtocol(unittest.TestCase):
         data_headers = parse_headers(data)
         self.assertEqual(data_headers.get("host"), "239.255.255.250:1900")
         self.assertEqual(data_headers.get("st"), "ssdp:all")
-        self.assertEqual(data_headers.get("man"), "ssdp:discover")
+        self.assertEqual(data_headers.get("man"), '"ssdp:discover"')
         self.assertEqual(data_headers.get("mx"), "1")
 
     def test_notify_payload(self):

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
-e git+https://github.com/MoshiBin/ssdpy.git@c3a5dd90e12ca38a02ef2d35318d947aaa5f3c9d#egg=ssdpy
tomli==2.2.1

name: ssdpy
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - exceptiongroup==1.2.2
      - iniconfig==2.1.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - tomli==2.2.1
prefix: /opt/conda/envs/ssdpy

tests/test_protocol.py::TestProtocol::test_msearch_payload
tests/test_protocol.py::TestProtocol::test_notify_age tests/test_protocol.py::TestProtocol::test_notify_al tests/test_protocol.py::TestProtocol::test_notify_edge_cases tests/test_protocol.py::TestProtocol::test_notify_location tests/test_protocol.py::TestProtocol::test_notify_payload
ssdpy/protocol.py
ssdpy/protocol.py