i want to add some stuff to apps/netutils/webclient.
for example,

* ability to report http status to the caller
* ability to add some request headers
* put
* other content-type for post
* tls

a question: how much api stability is expected for this?

Of course we would like the code to be stable in the sense that it continues to behave correctly; I assume that you would carefully verify new features. But I think by stable you are referring to a fixed API.  I don't think that is necessary either.  This is not a standard interface and it is not even documented.  People using non-standard, undocumented interfaces need to accept that they are subject to change without notice.

A good explanation in comments of how to get legacy behavior I think is sufficient.  Do other people agree with that?

can i just add extra arguments to wget() etc?
or should i keep wget() intact and introduce a new set of symbols?

I don't see any problems with extending wget().   We should do that wisely.  Perhaps it would be better if wget took a structure as an argument rather than a long, long parameter list.  I would personally prefer to see one wget() rather than the old wget() with a new wget2() which is the same but with different parameters.

All current usage of wget() should be modified to use any changes that you make to the interface.  I find only examples/wget/ and nshlib/.  Is that everything?



Reply via email to