Scrive Francois PIETTE <[EMAIL PROTECTED]>:
> >class function THttpContentCoding.GetCoding: String;
> >const
> > BASE_CLASS_NAME = 'THttpContentCoding';
> >begin
> > if Pos(BASE_CLASS_NAME, ClassName) = 1 then
> >Result := Copy(ClassName, Length(BASE_CLASS_NAME), MAXINT)
> > else
> >Res
>class function THttpContentCoding.GetCoding: String;
>const
> BASE_CLASS_NAME = 'THttpContentCoding';
>begin
> if Pos(BASE_CLASS_NAME, ClassName) = 1 then
>Result := Copy(ClassName, Length(BASE_CLASS_NAME), MAXINT)
> else
>Result := 'Unknown'; { Raise an exception?? }
>end;
Instead of
Maurizio Lotauro is working on the HTTP client component to extend the work
already done by Xavier Le Bris (gzip support). The idea is to have a general
mechanism in the component to register encoding system so that adding new
encoding scheme doesn't require component change.
Preliminary code i