Re: [fpc-pascal] Using fphttpclient to simulate web action sequence

2015-04-30 Thread Michael Van Canneyt
On Thu, 30 Apr 2015, leledumbo wrote: Just extract the and save the value of the Set-Cookie header ? I always store the cookies explicitly. If that's so, the current Cookies property implementation seems broken. I try to debug and indeed I found that each Set-Cookie line overrides the previo

Re: [fpc-pascal] Using fphttpclient to simulate web action sequence

2015-04-30 Thread leledumbo
> Just extract the and save the value of the Set-Cookie header ? > I always store the cookies explicitly. If that's so, the current Cookies property implementation seems broken. I try to debug and indeed I found that each Set-Cookie line overrides the previous if there are more than one Set-Cook

Re: [fpc-pascal] Internal error 200611031

2015-04-30 Thread leledumbo
> I was playing around with class helpers in my code and suddenly ran into an internal error on compilation. http://wiki.freepascal.org/Lazarus_Faq#.27Fatal:_Internal_error_YYZZW.27 -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Internal-error-200611031-t

[fpc-pascal] Internal error 200611031

2015-04-30 Thread Torsten Bonde Christiansen
Hi. I was playing around with class helpers in my code and suddenly ran into an internal error on compilation. I can try to make a sample project, but is this a known problem or did I stumple upon an unknown bug. I have tried googling the error, but nothing related shows up. My compiler is

Re: [fpc-pascal] Using fphttpclient to simulate web action sequence

2015-04-30 Thread Michael Van Canneyt
On Wed, 29 Apr 2015, leledumbo wrote: If the problem disappears after you do a Free and Create of the http class, then it means something is left hanging after the call. If I Free and re-Create the class, how can I ensure the request header of subsequent requests contain the same cookies? I