Hi Dave,

> > So even if we ignore the multi line headers right now, 
> 
> Don't. Get it right from the start, please.

yes, better get it right from the start.

> > And please use g_hash_table_replace() instead of insert. See the GLib
> > documentation for details or test it by yourself. There is a
> > different.
> 
> Hrm. Can't you have repeated headers? If you replace, wouldn't you throw
> away the previous one when you get the second?

What I read from the HTTP specification, we can not.

> Does nobody ever care about ordering of headers either?

I also read that the order doesn't matter. Only the initial HTTP
response has to be first. For the others it does not matter.

Please correct me here if I read this wrong. Using a hash table would be
pretty idea idea if this is not true ;)

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to