Both of these are DHT22. I believe both these are measuring relative humidity. However, since of these is advertised as able to measure ‘relative humidity’ while the other is advertised to measure ‘humidity’ only. Is there any such difference between these two sensors?
No difference in measurement abilities, they use the same sensor IC. Humidity measurements are always relative (except in some more esoteric situations). If you’re looking for ‘absolute’ humidity for some reason, you’ll need a sensor that can measure partial pressure of H2O, mass of H2O per volume or similar - though these can be calculated from relative humidity or wet bulb temperature.
To be honest, i don’t use them any more. Spent years fiddling with my weather station. The DHT22 series become saturated after 12 months and the humidity becomes unreliable. The temperature is fine as it uses a DS18B20 internally. Do yourself a favour and use a BME280 and set and forget. My 2 cents.
Weather proofing a humidity sensor is a bit tricky. It has to be open to the environment to work. If there is an accurite or similar indoor/outdoor Weather station unit is available, check the outdoor unit and follow similar principle.