Header parser: identifiers ending with ';' are now handled
This commit is contained in:
@ -65,6 +65,8 @@ cpdef tuple parseHeader(str header):
|
|||||||
m=header[1:-1].split(maxsplit=1)
|
m=header[1:-1].split(maxsplit=1)
|
||||||
|
|
||||||
ident=m[0]
|
ident=m[0]
|
||||||
|
if ident[-1] == ';':
|
||||||
|
ident = ident[:-1]
|
||||||
|
|
||||||
if len(m)==1:
|
if len(m)==1:
|
||||||
tags={}
|
tags={}
|
||||||
|
Reference in New Issue
Block a user