Skip to content

Commit 5cb3af3

Browse files
committed
Added forced datatype attribute output on HTTP_Method in HTTPRequestLineType
1 parent 5ad4847 commit 5cb3af3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cybox/bindings/http_session_object.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,8 @@ def exportChildren(self, outfile, level, namespace_='HTTPSessionObj:', name_='HT
896896
else:
897897
eol_ = ''
898898
if self.HTTP_Method is not None:
899+
# Temporary fix for forcing datatype output
900+
self.HTTP_Method.datatype = 'string'
899901
self.HTTP_Method.export(outfile, level, 'HTTPSessionObj:', name_='HTTP_Method', pretty_print=pretty_print)
900902
if self.Value is not None:
901903
self.Value.export(outfile, level, 'HTTPSessionObj:', name_='Value', pretty_print=pretty_print)

0 commit comments

Comments
 (0)