The resource parameter.


R. Clayton (rclayton@monmouth.edu)
(no date)


  It seems that when mitm is called() a pagelog URI is being passed in but
  there is nothing being passed in for the document resource parameter.

That's correct. Given a pagelog URI, the mitm() resource parameter behaves as
an output parameter used by your code to send information back to the mitm()
caller (if necessary). When called with a pagelog URI, your mitm() code should
assume nothing about the initial contents of the resource parameter.

This behavior only occurs for pagelog URIs. For regular URIs the resource
parameter is used as an input paramter to mitm(), as it has for all previous
assignments.

I have modified the assignment page to make this more clear.



This archive was generated by hypermail 2.0b3 on Mon Dec 15 2003 - 19:45:06 EST