CFWS = (1*([FWS] comment) [FWS]) / FWS
(value)
| 1288 | return comment, value[1:] |
| 1289 | |
| 1290 | def get_cfws(value): |
| 1291 | """CFWS = (1*([FWS] comment) [FWS]) / FWS |
| 1292 | |
| 1293 | """ |
| 1294 | cfws = CFWSList() |
| 1295 | while value and value[0] in CFWS_LEADER: |
| 1296 | if value[0] in WSP: |
| 1297 | token, value = get_fws(value) |
| 1298 | else: |
| 1299 | token, value = get_comment(value) |
| 1300 | cfws.append(token) |
| 1301 | return cfws, value |
| 1302 | |
| 1303 | def get_quoted_string(value): |
| 1304 | """quoted-string = [CFWS] <bare-quoted-string> [CFWS] |
no test coverage detected