Package information not supplied on push

Jan 1, 2012 at 3:27 PM

Hi all,

I've monitored the requests made by the command line tool's (version 1.6.21205.9031) push command and noticed that no information regarding the published package (ID, version, filename) is supplied in the request and/or multipart headers; the multipart seems to contain a content-disposition header with a filename attribute, but the value of the attribute is always set to "package".

Is there a specific reason for this? If not, can this information be added?




Jan 1, 2012 at 4:48 PM

That information is in the package itself.

Jan 1, 2012 at 5:02 PM

Yes, but it could be very helpful to have this information as part of the request; my goal is to observe the request and identify the ID and version of the package being pushed without having to handle the content (package itself).

Jan 1, 2012 at 5:10 PM

I suppose that could go in some http headers. But do note that on, you can also upload packages from the web site, which doesn't go through that request (it's a standard file upload). So monitoring those requests would not give you everything.

Jan 1, 2012 at 5:15 PM

Thanks, good to know, but it's actually for an internal server so all requests will be made through the CLI/custom client.

Jan 1, 2012 at 6:13 PM

I see. You should open a work item so it gets tracked.